<link rel='stylesheet' href='../../static/news/style/style1.css'>
<link rel='stylesheet' href='../../static/news/style/tab.css'>
<link rel='stylesheet' href='../../static/news/style/extra.css'>
<link rel='stylesheet' href='../../static/news/style/sdmenu.css'>
<script charset="utf-8" src="../../static/news/style/common.js"></script>
<script charset="utf-8" src="../../static/news/style/sdmenu.js"></script>
<script src="/static/public/jquery-1.4.3.min.js" type="text/javascript"></script>
<script src="/static/public/page/jquery.pager.js" type="text/javascript"></script>
<link rel="stylesheet" href="/static/public/page/news_pager.css">
{literal}
<script type='text/javascript'>
// <![CDATA[
var myMenu;
window.onload = function() { myMenu = new SDMenu('my_menu'); myMenu.init(); };
// ]]>
</script>
<script type="text/javascript" language="javascript">  
        $(document).ready(function() {  
            $("#pager").pager({ pagenumber:{/literal}{$num.current}, pagecount: {$num.page}{literal}, buttonClickCallback: PageClick });  
           	 $("#chk_all").click(function(){
                 $("input[name='chk_list']").attr("checked",$(this).attr("checked"));
            });
                  });   
            
        PageClick = function(pageclickednumber) {  
            $("#pager").pager({ pagenumber: pageclickednumber, pagecount: {/literal}{$num.page}{literal}, buttonClickCallback: PageClick });  
           // $("#result").html("Clicked Page " + pageclickednumber);     
            	window.location.href='/order/listing/?type=manager&p='+pageclickednumber+'&cid={/literal}{$content.id}{literal}';          
        }    

        function act(name){
       	 var arrChk=$("input[name='chk_list']:checked");
       	 var ids='';
       	 var cid=$("select[name='category']").val(); 

       	 if(cid<1&&name!='del'){
       		 alert('确认'+name);
       		 return false;
         }
       	 
         var flag=confirm('确认操作?');
         if(flag==false){
             return false;
         }

         $(arrChk).each(function(){
     	     ids=ids+','+this.value;                        
     	  }); 

       	 $.post("/news/copy",{ids:ids,cid:cid,type:name},function(data){
                 alert(data.error);  
                 window.location.href='/order/listing/?type=manage';
     	 },"json");
 	   
 	  
      }     
            
            
    </script>

{/literal}


<!-- 头部// -->
{include file="news/top.tpl"}

<!-- 左侧// -->
{include file="news/nav.tpl"}
<!-- 中间// -->
<td valign="top" class="td_content"><!-- setting title/desc -->
<form name="news" action="/news/search" method="post">

<div class="block titlebox">
<h2 class="title">快捷方式</h2>
<div class="content">用户名:{$user.username}|收货人:{$user.shr}|手机:{$user.mobile}|收货地址:{$user.address}</div>
</div>
</form>
<!-- setting title/desc --> <!-- 内容// -->
<table width="100%" align=center cellspacing=1 cellpadding=5 border=0
	class=mytb>
	<tr class=title>
		<th>序号</th>
		<th>产品编号</th>
		<th>产品名称</th>
		<th>单价</th>
		<th>数量</th>
	</tr>




	{section name=l loop=$goods }
	<tr>
		<td class=left width="3%" style="text-align: left;"><input
			type=checkbox name=chk_list value="{$news[l].id}">{$smarty.section.l.iteration}</td>
		<td class=left width="3%">{$goods[l].goods_id}</td>
		<td class=left width="3%"><a href="#">{$goods[l].goods_name}</a></td>
		<td class=left width="3%"><a href="#">{$goods[l].price}</a></td>
		<td class=right width="3%">{$goods[l].qty}</td>


	</tr>
	{/section}

</table>


<!-- help -->
<div>
<div id="pager"></div>
共有<font color="red">{$totalnum}</font>条记录</div>
<!-- help --></td>

<!-- 底部// -->
{include file="news/footer.tpl"}

